package cn.hznc.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Getter;
import lombok.Setter;

/**
 * @Author：Administrator
 * @Date：2023/9/18 21:45
 */
@Getter
@Setter
@Table(name = "t_configuration")
@TableName(value = "t_configuration")
public class ConfigurationEntity{

    /**
     * 主键id
     */
    @Column(name = "id",type = MySqlTypeConstant.INT,length = 11,isKey = true,isAutoIncrement = true)
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 员工名
     */
    @Column(name = "configure_key",type = MySqlTypeConstant.VARCHAR,length = 50)
    @TableField(value = "configure_key")
    private String configureKey;

    @Column(name = "configure_value",type = MySqlTypeConstant.VARCHAR,length = 100)
    @TableField(value = "configure_value")
    private String configureValue;
}
